﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMusicPlay._4._0
{
    public class Disposition
    {
        public List<MusicListJson> MusicList { get; set; } = new List<MusicListJson>();
        public double OrderState { get; set; }
        public BackImageJson BackImage { get; set; } = new BackImageJson();
        public BackgroundJson Background { get; set; } = new BackgroundJson();
        public ColorJson TextColor { get; set; } = new ColorJson();
        public ColorPlusJson ItemFocurBackground { get; set; } = new ColorPlusJson();
        public BackImageAndOpacityJson MusicPlayingBoardBackImage { get; set; } = new BackImageAndOpacityJson();
    }

    public class ColorPlusJson : ColorJson
    {
        public byte A { get; set; }
    }
    public class ColorJson
    {
        public byte R { get; set; }
        public byte G { get; set; }
        public byte B { get; set; }
    }
    public class BackgroundJson
    {
        public ColorJson Color { get; set; }
        public double Opacity { get; set; }
    }
    public class BackImageJson
    {
        public string Path { get; set; }
        public double Effect { get; set; }
    }

    public class BackImageAndOpacityJson : BackImageJson
    {
        public double Opacity { get; set; }
    }
    public class MusicListJson
    {
        public string Name { get; set; }
        public string Path { get; set; }
    }
}
